﻿<%@ Page Title="商品信息" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="detail.aspx.cs" Inherits="STP.Product.ProductInfo" Async="true" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <div class="form-horizontal">
    <div class="form-group">
        <br />
        <div class="col-md-10">
        <div class="col-md-5">
            <asp:Image runat="server"  ID="Image" Width="300px" Height="300px"></asp:Image>
        </div>
        <div class="col-md-7">
            <div class="col-md-10">
                <br />
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text="商品名称："></asp:Label>
                <asp:Label runat="server"  CssClass="col-md-6 control-label" ID="Name" ></asp:Label>
            </div>
            <div class="col-md-10">
                <br />
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text="商品标签："></asp:Label>
                <asp:Label runat="server"  CssClass="col-md-6 control-label" ID="Tags" ></asp:Label>
            </div>
            <div class="col-md-10">
                 <br />
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text="卖家："></asp:Label>
                <asp:HyperLink runat="server"  CssClass="col-md-6 control-label" ID="Username"></asp:HyperLink><br />
            </div>
            <div class="col-md-10">
                <br />
                <asp:Label runat="server" CssClass="col-md-6 control-label" Text="商品状态："></asp:Label>
                <asp:Label runat="server" CssClass="col-md-6 control-label" ID="state"></asp:Label>
            </div>
            <div class="col-md-10">
                <br />
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text="发布时间："></asp:Label>
                <asp:Label runat="server"  CssClass="col-md-6 control-label" ID="Time" ></asp:Label>
            </div>
            <div class="col-md-10">
                <br />
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text="预估价格："></asp:Label>
                <asp:Label runat="server"  CssClass="col-md-6 control-label" ID="Price" ></asp:Label>
            </div> 
            <div class="col-md-10">
                <br />
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text="当前最高出价："></asp:Label>
                <asp:Label runat="server"  CssClass="col-md-6 control-label" ID="Quote" ></asp:Label>
            </div>
            <div class="col-md-10">
                <br />
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text="我的出价："></asp:Label>
                <asp:Label runat="server"  CssClass="col-md-4 control-label" ID="Myquote" ></asp:Label>
                <asp:Button runat="server" ID="deletequote" Text="清除"  CssClass="col-md-2 btn btn-default" OnClick="deletequote_Click" />
            </div>
            <div class="col-md-10">
                <asp:Label runat="server"  CssClass="col-md-6 control-label" Text=""></asp:Label>
                <asp:TextBox runat="server" CssClass="col-md-4 " ID="NewQuote" ></asp:TextBox>
                <asp:Button runat="server" ID="submit" Text="出价" OnClick="submit_Click" CssClass="col-md-2 btn btn-default" />
            </div>
        </div>
        </div>
        <div class="col-md-10">
            <asp:Button runat="server" ID="addCollection" Text="加入收藏"  CssClass="col-md-3 btn btn-default" OnClick="addCollection_Click" />
            <asp:Button runat="server" ID="deleteCollection" Text="取消收藏"  CssClass="col-md-3 btn btn-default" OnClick="deleteCollection_Click" />
            <asp:Button runat="server" ID="complaint" Text="投诉" CssClass="col-md-3 btn btn-default" OnClick="complaint_Click" />
        </div>
        <div class="col-md-10">
            <br />
            <asp:Label runat="server"  CssClass="col-md-2 control-label" Text="商品简介："></asp:Label>
            <asp:Label runat="server"  CssClass="col-md-8" ID="Content" style="word-break:break-all;" Width="500" ></asp:Label>
        </div>
        <div class="col-md-10">
            <asp:Button runat="server" ID="deleteProduct" Text="删除此商品"  CssClass="col-md-3 btn btn-default" OnClick="deleteProduct_Click" />
            <asp:Button runat="server" ID="completeTransaction" Text="完成交易" CssClass="col-md-3 btn btn-default" OnClick="completeTransaction_Click" />
            <asp:Button runat="server" ID="edit" Text="编辑" CssClass="col-md-3 btn btn-default" OnClick="edit_Click" />
        </div>
    </div>
</div>

</asp:Content>
